 
{% extends 'base.html' %}

{% block content %}
<div class="admin-dashboard">
    <h2>Admin Dashboard</h2>
    
    <div class="stats">
        <div class="stat-item">
            <h3>Indexed Pages</h3>
            <p>{{ stats['page_count'] }}</p>
        </div>
        <div class="stat-item">
            <h3>URLs in Queue</h3>
            <p>{{ stats['queue_count'] }}</p>
        </div>
    </div>
    
    <div class="actions">
        <a href="{{ url_for('admin_crawl') }}" class="btn btn-primary">Run Crawler</a>
    </div>
</div>
{% endblock %}
 